package com.example.test.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author decent
 */
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Type implements Serializable {

    private static final long serialVersionUID = -1369448390463179472L;

    @JsonProperty("id")
    @ExcelProperty("id")
    private Integer typeId;
    @ExcelProperty("名")
    private String typeName;
    @ExcelProperty("图片url")
    private String iconUrl;
    @ExcelIgnore
    private Integer status;
    @ExcelIgnore
    private String sequence;

}